package edu.gdkm.spring;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    private String name;
    private Diploma diploma;

    public void show(){
        System.out.println(name);
        diploma.show();
    }
}
